package com.tuling.jucdemo.hashmap;

/**
 * @author :tangweiliang
 * @date : 2022/12/8 22:43
 * 未来的你会感谢现在努力的自己
 *
 * identityHashCode()
 */
public class Main {
    @Override
    public int hashCode(){
        return 1;
    }

    public static void main(String[] args) {
        Main main = new Main();
        System.out.println(main.hashCode());
        System.out.println(System.identityHashCode(main));
    }
}
